package com.ucar.umock.client.app.remotesupport.mock;

import com.ucar.umock.client.app.remotesupport.dto.VehicleInfoDTO;
import com.ucar.umock.client.dto.UMockMethodRuntimeInfoDTO;
import com.ucar.umock.client.exector.UMockValueCustomHandle;
import org.springframework.stereotype.Component;

/**
 * @ClassName VehicleRemoteSupportMock
 * @Description TODO
 * @Author zhanbs baoshan.zhan@ucarinc.com
 * @Date 2020/4/3 16:18
 * @Version 1.0
 **/
@Component(value = "vehicleRemoteSupportMock")
public class VehicleRemoteSupportMock implements UMockValueCustomHandle {


    public Object handle(UMockMethodRuntimeInfoDTO methodRuntimeDTO) {
        System.out.println("mock around");
        VehicleInfoDTO dto=new VehicleInfoDTO();
        dto.setFrameNo("ABCDDDDsssss");
        dto.setVehicleNo("闽DN3L15");
        dto.setId(1l);
        return dto;
    }
}
